﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Real.UI
{
    public partial class frmPrincipal : Form
    {
        public frmPrincipal()
        {
            InitializeComponent();
        }

        private void administrarProveedoresToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmProveedorABM frm = new frmProveedorABM();
            frm.MdiParent = this;
            frm.Show();
        }

        private void administrarProductosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmProductoABM frm = new frmProductoABM();
            frm.MdiParent = this;
            frm.Show();
        }

        private void administrarOrdenesDeCompraToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            frmOrdenCompraABM frm = new frmOrdenCompraABM();
            frm.MdiParent = this;
            frm.Show();
        }

        private void administrarFacturasToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmFactura frm = new frmFactura();
            frm.MdiParent = this;
            frm.Show();
        }
    }
}
